package com.key.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author
 */
@ApiModel(value = "报废清单视图对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClearFormVO {

    @ApiModelProperty(name = "cfNo",notes = "清理单号")
    private String cfNo;

    @ApiModelProperty(name = "cfClearTime",notes = "清理日期")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern="yyyy-MM-dd",timezone="GMT+8")
    private Timestamp cfClearTime;

    @ApiModelProperty(name = "cfCompany",notes = "业务所属公司")
    private String cfCompany;

    @ApiModelProperty(name = "cfProcessor",notes = "处理人(清理人)")
    private String cfProcessor;

    @ApiModelProperty(name = "cfClearReason",notes = "清理原因(说明)")
    private String cfClearReason;

    @ApiModelProperty(name = "assetsList",notes = "资产id list")
    private List<AssetsVO> assetsList;
}
